import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson
} from "../utils/request";

//查询分页
export function queryPrize(data) {
  return post("/api/promotion-service/v1/faq/qryFaq", data);
}
//卡券查询
export function queryGenCoupon(data) {
  return post("/api/promotion-service/v1/coupon/queryGenCoupon", data);
}
//新增
export function addPrize(data) {
  return post("/api/promotion-service/v1/faq/addFaq", data);
}


//删除（逻辑删除）
export function deletePrize(data) {
  return post("/api/promotion-service/v1/faq/addFaq", data);
}

//修改
export function updatePrize(data) {
  return post("/api/promotion-service/v1/faq/addFaq", data);
}

